//
//  BlessingsController.m
//  YunGou
//
//  Created by macbook on 16/7/1.
//  Copyright © 2016年 macbook. All rights reserved.
//

#import "BlessingsController.h"
#import "BlessingHeaderView.h"
#import "NSObject+Tools.h"

@interface BlessingsController ()

@end

@implementation BlessingsController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source


- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 100;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell" forIndexPath:indexPath];
    
    return cell;
}

- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    return 140;
}

- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
    BlessingHeaderView *headerView = [BlessingHeaderView nibInitializtion];
    return headerView;
}


@end
